<?php
include 'config.php';
include DIR_CLASSES . 'database.class.php';

$dbClass = new Database();
$dbClass->connect();

$email = mysql_real_escape_string($_GET['email']);
mysql_query("delete from `dt_newsletter_emails` where `nl_email` = '$email'");
header("Location: index.html");
?>